package com.lcc.codehelper.core;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:table.properties")
@Data
public class TableConfig {

    @Value("${table}")
    private String table;
    @Value("${provider}")
    private String provider;
    @Value("${api}")
    private String api;
    @Value("${dto}")
    private String dto;
    @Value("${param}")
    private String param;
    @Value("${po}")
    private String po;
    @Value("${service}")
    private String service;
    @Value("${serviceImpl}")
    private String serviceImpl;
    @Value("${manager}")
    private String manager;
    @Value("${mapper}")
    private String mapper;
    @Value("${controller}")
    private String controller;
    @Value("${author}")
    private String author;
    @Value("${interfaceAddress}")
    private String interfaceAddress;
    @Value("${needStatistics}")
    private Boolean needStatistics;
    @Value("${counts}")
    private String counts;
    @Value("${splitByEnt}")
    private Boolean splitByEnt;
    @Value("${extBean}")
    private String extBean;
}
